<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="/WEB-INF/tld/extremecomponents.tld" prefix="ec"%>
<link rel="stylesheet" type="text/css"
	href="images/eXtremeComponents/extremecomponents.css" />
<%@include file="../header.jsp"%>
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<script type="text/javascript">
	window.onload = function() {
		CKEDITOR.replace('reply.reply_content');
	};
</script>

</head>
<%@include file="../menu.jsp"%>
<div id="content">

	<!-- Normal content: Stuff that's not going to be put in the left or right column. -->
	<div id="normalcontent">
		<h3>
			<strong><s:property value='topic.title' /> </strong>
		</h3>
		<div class="contentarea">
			<!-- Normal content area start -->
			<img src="images/index/pic1.jpg" class="left" alt="头像" />
			<s:property value='topic.content' />
			<!-- Normal content area end -->
		</div>
	</div>


	<div class="divider1"></div>


	<!-- Primary content: Stuff that goes in the primary content column (by default, the left column) -->

	<div id="primarycontainer">
		<div id="primarycontent">
			<!-- Primary content area start -->
			<ec:table items="replyList"
				action="${pageContext.request.contextPath}/replyAction!getReplyList.action"
				imagePath="${pageContext.request.contextPath}/images/eXtremeComponents/table/*.gif"
				title="回复" width="60%" rowsDisplayed="30" var="topic">
				<ec:row highlightRow="true">
					<ec:column property="null2" title="操作" sortable="false"
						filterable="false" viewsDenied="xls">
						<div class="contentarea">
							<div class="details">
								Posted by <a href="http://www.865171.cn">Jane Doe</a> on
								September 25, 2006
							</div>
							<img src="images/index/pic3.jpg" class="left"
								alt="A chinese dragon" />

						</div>
					</ec:column>

					<ec:column property="a_title" title="文章标题" sortable="true">
						<!--<a href="article!dispArtiClassify.action?acID=${articles.a_id}">-->
						      ${topic.title}
					</ec:column>
					<ec:column property="null2" title="操作" sortable="false"
						filterable="false" viewsDenied="xls">
				[<a onMouseOver="this.style.cursor='hand'"
							href="topicAction!readTopic.action?id=${topic.id}">查看</a>]
					</ec:column>
				</ec:row>
			</ec:table>

			<div class="post">
				<h4>Lorem Ipsum Veroeros</h4>
				<div class="contentarea">
					<div class="details">
						Posted by <a href="http://www.865171.cn">Jane Doe</a> on September
						25, 2006
					</div>
					<p>Volutpat at varius sed sollicitudin et, arcu. Vivamus
						viverra. Nullam turpis. Vestibulum sed etiam. Lorem ipsum sit amet
						dolore. Nulla facilisi. Sed tortor. Aenean felis. Quisque eros.
						Cras lobortis commodo metus. Vestibulum vel purus. In eget odio in
						sapien adipiscing blandit. Quisque augue tortor, facilisis sit
						amet, aliquam, suscipit vitae, cursus sed, arcu lorem ipsum dolor
						sit amet.</p>
					<ul class="controls">
						<li><a href="http://www.865171.cn" class="printerfriendly">Printer
								Friendly</a></li>
						<li><a href="http://www.865171.cn" class="comments">Comments
								(18)</a></li>
						<li><a href="http://www.865171.cn" class="more">Read More</a>
						</li>
					</ul>
				</div>
			</div>

			<div class="divider2"></div>

			<div class="post">
				<h4>Consequat Odio Vestibulum</h4>
				<div class="contentarea">
					<div class="details">
						Posted by <a href="http://www.865171.cn">Jane Doe</a> on September
						25, 2006
					</div>
					<img src="images/index/pic3.jpg" class="left"
						alt="A chinese dragon" />
					<p>Aenean felis quisque eros. Cras lobortis commodo lorem ipsum
						dolor. Vestibulum vel purus. In eget odio in sapien adipiscing
						blandit. Lorem ipsum dolor sit amet consequat etiam sed dolore.</p>
					<ul class="controls">
						<li><a href="http://www.865171.cn" class="printerfriendly">Printer
								Friendly</a></li>
						<li><a href="http://www.865171.cn" class="comments">Comments
								(18)</a></li>
						<li><a href="http://www.865171.cn" class="more">Read More</a>
						</li>
					</ul>
				</div>
			</div>

			<div class="divider2"></div>

			<div class="post">
				<h4>Adipiscing Nullam</h4>
				<div class="contentarea">
					<form method="post" action="replyAction!addReply.action">
						<table>
							<tr>
								<td><input type="hidden" name="reply.reply_topic_id"
									value="<s:property value='topic.id' />"> <input
									type="hidden" name="reply.reply_parent_id" value="0" />"></td>
							</tr>
							<tr>
								<td><textarea name="reply.reply_content"
										class="jquery_ckeditor">
						</textarea>
								</td>
							</tr>
							<tr>
								<td><input type="submit" value="提交"></td>
						</table>
					</form>
				</div>
			</div>

			<!-- Primary content area end -->
		</div>
	</div>


	<!-- Secondary content: Stuff that goes in the secondary content column (by default, the narrower right column) -->
	<div id="secondarycontent">
		<!-- Secondary content area start -->

		<!-- HINT: Set any div's class to "box" to encapsulate it in (you guessed it) a box -->
		<div class="box">
			<h4>Blandit Veroeros</h4>
			<div class="contentarea">
				<img src="images/index/pic2.jpg" class="left" alt="Random foliage" />
				<p>
					Sed etiam et lorem ipsum nulla vero et lobortis felis sed etiam.
					Lorem ipsum sit amet dolore. Nulla facilisi. Sed tortor. Aenean
					felis. Quisque eros etiam <a href="http://www.865171.cn">sed
						commodo</a>.
				</p>
			</div>
		</div>

		<div>
			<h4>Nullam Dolore</h4>
			<div class="contentarea">
				<ul class="linklist">
					<li><a href="http://www.865171.cn">Volutpat at varius sed</a>
					</li>
					<li><a href="http://www.865171.cn">Sollicitudin et arcu</a></li>
					<li><a href="http://www.865171.cn">Vivamus viverra nullam</a>
					</li>
					<li><a href="http://www.865171.cn">Turpis vestibulum</a></li>
					<li><a href="http://www.865171.cn">Sed etiam lorem ipsum</a></li>
					<li><a href="http://www.865171.cn">Sit amet dolore nulla</a></li>
					<li><a href="http://www.865171.cn">Facilisi sed tortor</a></li>
					<li><a href="http://www.865171.cn">Aenean felis quisque</a></li>
					<li><a href="http://www.865171.cn">Eros cras lobortis vel</a>
					</li>
					<li><a href="http://www.865171.cn">Purus in eget odio
							sapien</a></li>
					<li><a href="http://www.865171.cn">Adipiscing blandit</a></li>
				</ul>
			</div>
		</div>

		<!-- Secondary content area end -->
	</div>



</div>


<%@include file="../footer.jsp"%>